package com.qf.yu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

/**
 * 车辆表
 */
@Data
@TableName(value = "car")
public class Car {
    /**
     * 车辆id
     */
    @TableId(value = "car_id", type = IdType.INPUT)
    private Integer carId;

    /**
     * 车辆名称
     */
    @TableField(value = "car_name")
    private String carName;

    /**
     * 车牌
     */
    @TableField(value = "car_number")
    private String carNumber;

    /**
     * 车型id
     */
    @TableField(value = "car_model_id")
    private Integer carModelId;

    /**
     * 车辆分类id
     */
    @TableField(value = "car_classification_id")
    private Integer carClassificationId;

    /**
     * 车辆品牌
     */
    @TableField(value = "car_brand")
    private String carBrand;

    /**
     * 车座
     */
    @TableField(value = "car_saddle")
    private Integer carSaddle;

    /**
     * 车辆使用状态 0 空闲 1使用
     */
    @TableField(value = "car_status")
    private Integer carStatus;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 0正常 1删除
     */
    @TableField(value = "del_status")
    private Integer delStatus;

    public static final String COL_CAR_ID = "car_id";

    public static final String COL_CAR_NAME = "car_name";

    public static final String COL_CAR_NUMBER = "car_number";

    public static final String COL_CAR_MODEL_ID = "car_model_id";

    public static final String COL_CAR_CLASSIFICATION_ID = "car_classification_id";

    public static final String COL_CAR_BRAND = "car_brand";

    public static final String COL_CAR_SADDLE = "car_saddle";

    public static final String COL_CAR_STATUS = "car_status";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_DEL_STATUS = "del_status";
}